<template>
  <div>
    <span>test</span>
  </div>
</template>

<script>
    import job from "../../services/job";

    export default {
        name: "jobDetailPage",
      created() {
          let id =this.$route.query.id;
          this.getJobDetail(id);
      },
      data(){
        return {
          jobDetail:"",
        }
      },
      methods:{
          getJobDetail(p){
            this.$job.jobDetail({id:p}).then((res)=>{
              if (res.code==200){
                this.jobDetail =res.data;
              }
            }).catch((err)=>{
              console.log(err)
            });
          }
      }
    }
</script>

<style scoped>

</style>
